package com.es.easystoragesimulatedata.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 电站数据修改请求参数模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "电站数据修改请求参数")
public class StationDataUpdateRequest {
    
    @JsonProperty("stationId")
    @Schema(description = "电站ID", example = "ST001")
    private String stationId;
    
    @JsonProperty("dataDate")
    @Schema(description = "数据日期，格式：yyyy-MM-dd", example = "2025-01-20")
    private String dataDate;
    
    @JsonProperty("gridUploadPower")
    @Schema(description = "上网电量（MWh）", example = "150.50")
    private BigDecimal gridUploadPower;
    
    @JsonProperty("gridDownloadPower")
    @Schema(description = "下网电量（MWh）", example = "180.20")
    private BigDecimal gridDownloadPower;
    
    @JsonProperty("pcsEfficiency")
    @Schema(description = "PCS转换效率（%）", example = "95.5")
    private BigDecimal pcsEfficiency;
    
    @JsonProperty("circuitEfficiency")
    @Schema(description = "回路效率（%）", example = "93.2")
    private BigDecimal circuitEfficiency;
    
    @JsonProperty("equivalentCycles")
    @Schema(description = "等效循环次数", example = "0.85")
    private BigDecimal equivalentCycles;
    
    @JsonProperty("revenue")
    @Schema(description = "收入（万元）", example = "12.50")
    private BigDecimal revenue;
}

